package liwei;

public class Main1 {
    public static void main(String[] args) {
        boolean[] arr = new boolean[100];
        int count = 0;
        int index = 0;
        int flag = 1;

        while (count<100){
            if(!arr[index]){
                if(flag == 9){
                    count++;
                    System.out.println(index+1+"号");
                    arr[index] = true;
                    flag = 1;
                }else {
                    flag++;
                }
            }
            if(index<99) index++;
            else index = 0;
        }
    }
}
